package com.wenwei.sharebox.bean;

/**
 * Created by Administrator on 2017/8/31.
 */
public class MessageListBean {


    /**
     * id : 48
     * messageId : 31
     * userId : 1
     * state : 1
     * sbMessage : {"id":31,"title":"共享家庭设备，立马获取￥100","content":"消息的内容,贡献大家的闲置用品，好玩有好耍","state":0,"createdTime":1504111879000}
     * createdTime : 1504114988000
     * updatedTime : 1504146654293
     * deletedTime : null
     */

    private int id;
    private int messageId;
    private int userId;
    private int state;
    private SbMessageBean sbMessage;
    private long createdTime;
    private long updatedTime;
    private Object deletedTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public SbMessageBean getSbMessage() {
        return sbMessage;
    }

    public void setSbMessage(SbMessageBean sbMessage) {
        this.sbMessage = sbMessage;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Object getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Object deletedTime) {
        this.deletedTime = deletedTime;
    }

    public static class SbMessageBean {
        /**
         * id : 31
         * title : 共享家庭设备，立马获取￥100
         * content : 消息的内容,贡献大家的闲置用品，好玩有好耍
         * state : 0
         * createdTime : 1504111879000
         */

        private int id;
        private String title;
        private String content;
        private int state;
        private long createdTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }
    }
}
